public class main {
    public static void main(String[] args) {
        char[] xin = {'李', '刘', '张', '王'};
        char[] min = {'三', '括', '跑', '云', '良', '群'};
        char[][] name = new char[4][4];
        for (int i = 0; i < xin.length; i++) {
            name[i][0] = xin[i];
        }
        name[0][1] = min[0];
        name[0][2] = min[1];
        name[1][1] = min[2];
        name[1][2] = min[3];
        name[2][1] = min[2];
        name[2][2] = min[4];
        name[2][3] = min[5];
        name[3][1] = min[1];
        name[3][2] = min[3];
        name[3][3] = min[5];
        for (int i = 0; i < 4; i++) {
            for (int j = 1; j < 4; j++) {
                if(name[i][j]==' '){
                    continue;
                }
                System.out.println(name[i][0]+" "+name[i][j]);
            }
        }
        找姓();
    }

    private static void 找姓() {

    }

}
